package com.zan.model;

/**
 * @Author Zan
 * @Create 2024/5/24 14:25
 * @ClassName: Field
 * @Description : 字段类
 */
public class Field {

    private String name;

    private String propertyName;

    private String jdbcType;

    private String comment;

    private boolean keyFlag;

    public Field(String name, String propertyName, String jdbcType, String comment, boolean keyFlag) {
        this.name = name;
        this.propertyName = propertyName;
        this.jdbcType = jdbcType;
        this.comment = comment;
        this.keyFlag = keyFlag;
    }

    public String getName() {
        return name;
    }

    public String getPropertyName() {
        return propertyName;
    }

    public boolean isKeyFlag() {
        return keyFlag;
    }

    public String getJdbcType() {
        return jdbcType;
    }

    public String getComment() {
        return comment;
    }
}
